import DES.DES;
import RSA.RSA;
import Server.Server;
import java.sql.*;
import java.util.Calendar;

import Message.*;
import Conn.*;

public class Main
{
    public static void main(String[] args) { // 主方法，测试连接
       Server AS=new Server();
       AS.Start();
       Message m=new Message("00001","asd","asd",100,"1230","123");
       String[] s=m.toStr().split("\\|");
       for(String i : s)
       {
           System.out.println(i);
       }
       System.out.println(new Server().toMessage(m.toStr()).toStr());
    }
}